package io.github.talelin.latticy.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import io.github.talelin.latticy.model.Coupon;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;


/**
 * coupon数据库层
 *
 * @author YiHua
 * @date 2021/11/30 5:57 下午
 */
@Repository
public interface CouponMapper extends BaseMapper<Coupon> {

       List<Integer> getCouponsByActivityId(@Param("id") Integer id);

}

